﻿using LiteDB;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FileSC.DB.Entities
{
    public class UploadJobInfo : HostBase
    {
        [BsonField("_id")]
        public Guid JobID { get; set; }
        public DateTime CreateTime { get; set; }
        public DateTime UpdatedTime { get; set; }
        /// <summary>
        /// 远端文件名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 远端目录
        /// </summary>
        public string Path { get; set; }
        /// <summary>
        /// 待上传文件路径
        /// </summary>
        public string LocalPath { get; set; }
        /// <summary>
        /// 文件大小
        /// </summary>
        public long FileSize { get; set; }
        /// <summary>
        /// 已上传大小
        /// </summary>
        public long UploadSize { get; set; }

        public string Message { get; set; }
    }
}
